package com.kymatrix.kycarbon.xsmd.system.server.model.form.config;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import lombok.Data;

/**
 * @author liujie
 * @date 2024-03-02
 */
@ApiModel("新增系统配置")
@Data
public class InsertSystemConfigReq {
    
    @ApiModelProperty("组名")
    @NotEmpty(message = "组名不能为空")
    private String groupName;

    @ApiModelProperty("配置key")
    @NotEmpty(message = "配置key不能为空")
    private String configKey;

    @ApiModelProperty("配置值")
    @NotEmpty(message = "配置值不能为空")
    private String configValue;

    @ApiModelProperty("排序 数字越小越靠前显示")
    @NotNull(message = "配置值不能为空")
    private Integer sortNo = 0;
    
}
